
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>更改用户</title>
</head>
<body>
<script type="text/javascript">


    function form() {

        var x=document.forms["myforms"]["username"].value;
        var y=document.forms["myforms"]["password"].value;
        var z=document.forms["myforms"]["id"].value;
        if (x == null ||y == null||x==""||y==""||z == null||z=="") {
            alert("账户名,密码,id号不能为空");
            return false;
        }
        else
            return true;
    }
</script>
<form method="post" action="Update1.jsp" name="myforms" onsubmit="return form()">
    id:<input name="id"  type="text" placeholder="请输入需要修改信息的id号"></br>
    用户名：<input name="username"  type="text" placeholder="请输入用户名"></br>
    密码: <input name="password" type="text" placeholder="请输入用户名密码"></br>
    <input type="submit" value="修改">
</form>
</body>
</html>
